{% extends "account/base.html" %}
{% load static %}
{% block css %}
    <link href="{% static 'css/account/login.css' %}" rel="stylesheet">
{% endblock %}
{% load i18n %}
{% load account socialaccount %}
{% block head_title %}{% trans "Sign In" %}{% endblock %}

{% block content %}
    <div id="content-container">
        <div id="login-main">
            <h1>登陆</h1>
            <div id="login-form">
                <form class="login" method="POST" action="{% url 'account_login' %}">
                    {% csrf_token %}
                    {{ form.as_p }}
                    {% if redirect_field_value %}
                        <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}"/>
                    {% endif %}
                    <button id="btn-login"  type="submit">登陆</button>
                </form>
            </div>
        </div>
    </div>
{% endblock %}
